package com.xjy.rpc.annotation;

import com.xjy.rpc.config.ServiceConsumerConfig;
import com.xjy.rpc.config.ServiceProvideConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * @description: 开启服务发现配置，用于消费端，具体实现在ServiceConsumerConfig中
 * 标记在启动类上
 * @author XJY
 * @date 2024/10/17 9:16
 * @version 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({ServiceConsumerConfig.class})
public @interface EnableRpcBeanDiscovery {
}
